package com.job.dao;

import com.job.model.City;

import java.util.List;

/**
 * @author hasee
 */
public interface CityDao {
    /**
     *   获取所有的城市
     * @return
     */
    public List<City> getAllCity();

    /**
     * 获取省名 parentId=0
     * @return
     */
    public List<City>getCityParentId0();

    /**
     * 根据id 获取城市
     * @param cityId
     * @return
     */
    public List<City>getCity(int cityId);
    public List<City>getCity(String cityName);
}
